//
//  DDAnswerStat.h
//  dingdang
//
//  Created by 阮 沧晖 on 15/7/19.
//  Copyright (c) 2015年 阮 沧晖. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "JSONModel.h"

@protocol DDAnswerExplanation <NSObject>
@end
@interface DDAnswerExplanation : JSONModel
@property(nonatomic,strong)NSString<Optional> *desc;
@property(nonatomic,strong)NSString<Optional> *id;
@property(nonatomic,strong)NSString<Optional> *labels;
@property(nonatomic,strong)NSString<Optional> *text;
@property(nonatomic,strong)NSString<Optional> *title;
@property(nonatomic,strong)NSString<Optional> *type;
@property(nonatomic,strong)NSString<Optional> *url;
@end


@protocol DDAnswerQuestionOptionsContent <NSObject>
@end
@interface DDAnswerQuestionOptionsContent : JSONModel
@property(nonatomic,strong)NSString *desc;
@property(nonatomic,strong)NSString *id;
@property(nonatomic,strong)NSString *labels;
@property(nonatomic,strong)NSString *text;
@property(nonatomic,strong)NSString *title;
@property(nonatomic,strong)NSString *type;
@property(nonatomic,strong)NSString *url;
@end

@protocol DDAnswerQuestionOptions <NSObject>
@end
@interface DDAnswerQuestionOptions : JSONModel
@property(nonatomic,strong)NSArray<DDAnswerQuestionOptionsContent,Optional> *content;
@property(nonatomic,strong)NSString<Optional> *currect;
@property(nonatomic,strong)NSString<Optional> *id;
@property(nonatomic,strong)NSString<Optional> *label;
//@property(nonatomic,strong)NSString<Optional> *orderIndex;
//@property(nonatomic,strong)NSString<Optional> *score;
//@property(nonatomic,strong)NSString<Optional> *seconds;
//@property(nonatomic,strong)NSString<Optional> *subjective;
//@property(nonatomic,strong)NSString<Optional> *tip;
//@property(nonatomic,strong)NSString<Optional> *type;
//@property(nonatomic,strong)NSString<Optional> *typeName;
//@property(nonatomic,strong)NSString<Optional> *uid;
@end

@protocol DDAnswerBody <NSObject>
@end
@interface DDAnswerBody : JSONModel
@property(nonatomic,strong)NSString<Optional> *desc;
@property(nonatomic,strong)NSString<Optional> *id;
@property(nonatomic,strong)NSString<Optional> *labels;
@property(nonatomic,strong)NSString<Optional> *text;
@property(nonatomic,strong)NSString<Optional> *title;
@property(nonatomic,strong)NSString<Optional> *type;
@property(nonatomic,strong)NSString<Optional> *url;
@end

@protocol DDAnswerQuestion <NSObject>
@end
@interface DDAnswerQuestion : JSONModel
@property(nonatomic,strong)NSString<Optional> *answer;
@property(nonatomic,strong)NSString<Optional> *arrangment;
@property(nonatomic,strong)NSArray<DDAnswerBody,Optional> *body;
@property(nonatomic,strong)NSString<Optional> *course;
@property(nonatomic,strong)NSString<Optional> *courseName;
@property(nonatomic,strong)NSString<Optional> *createTime;
@property(nonatomic,strong)NSString<Optional> *emptyOption;
@property(nonatomic,strong)NSArray<DDAnswerExplanation,Optional> *explanation;
@property(nonatomic,strong)NSString<Optional> *id;
@property(nonatomic,strong)DDAnswerQuestionOptions<Optional> *options;
@end

@protocol DDAnswerStatOption <NSObject>
@end
@interface DDAnswerStatOption : JSONModel
@property(nonatomic,strong)NSString<Optional> *title;
@property(nonatomic,strong)NSString<Optional> *total;
@end

@protocol DDAnswerStatResult <NSObject>
@end
@interface DDAnswerStatResult : JSONModel
@property(nonatomic,strong)NSString<Optional> *title;
@property(nonatomic,strong)NSString<Optional> *total;
@end


@protocol DDAnswerStatInfo <NSObject>
@end
@interface DDAnswerStatInfo : JSONModel

@property(nonatomic,strong)NSString<Optional> *id;
@property(nonatomic,strong)NSString<Optional> *answerTotal;
@property(nonatomic,strong)NSString<Optional> *notAnswerTotal;
@property(nonatomic,strong)DDAnswerQuestion<Optional> *question;
@property(nonatomic,strong)NSArray<DDAnswerStatResult,Optional> * result;
@property(nonatomic,strong)NSArray<DDAnswerStatOption,Optional> * option;
@end

@interface DDAnswerStat : JSONModel
@property(nonatomic,strong)NSArray<DDAnswerStatInfo,Optional> *data;
@end


